{% extends "admin/adminBase.html" %}

{% block page_content %}
	<h3>用户管理</h3>
	<div class="user-list">		
		{% for user in users %}			
			{% if loop.index==loop.length %}
				{{ macro.rendAdminUserCell(user,'user-cell') }}
			{% else %}
				{{ macro.rendAdminUserCell(user,'user-cell user-cell-line') }}
			{% endif %}			
		{% endfor %}				
	</div>

	<div class="input-group user-search">
	    <div class="input-group-btn">
		    <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
		    	用户名 <span class="caret"></span>
		  	</button>
		    <ul class="dropdown-menu" role="menu">
			    <li><a href="">用户名</a></li>
			    <li><a href="">用户id</a></li>
			    <li><a href="">用户地址</a></li>			    
			    <li><a href="">注册日期</a></li>
		    </ul>
	    </div>
 	    <input type="text" class="form-control">
 	    <a class="input-group-addon btn btn-default">搜索</a>  
	</div>	
	{{ macro.pagination_widget(pagination,'admin.user_admin') }}

{% endblock %}

{% block select_nav %}
	selectPage(0);
{% endblock %}